package lianxi;

public class lian2 {
    public static void main(String[] args) {
        int a,b,c;
        a=20;
        b=18;
        System.out.println("a=20");
        System.out.println("b=18");
        System.out.println("要进行交换了");
        c=a;
        a=b;
        b=c;
        System.out.println("交换完成了");
        System.out.println("a="+a);
        System.out.println("b="+b);
    }
}
